<template>
  <div>
    <el-table> </el-table>
  </div>
</template>

<script>
export default {
  name: "table",
  data() {
    return {};
  },
  props: {
    //父传的数据列表
    listData: {
      type: Array,
      required: true,
    },
    //列名
    propList: {
      type: Array,
      required: true,
    },
    //是否显示列
    showIndexColumn: {
      type: Boolean,
      default: false,
    },
  },
};
</script>

<style>
</style>